-- GENERATED SPELL FOR [Singed Basilisk] --


function spell0_4042(pUnit, Event) --@Crystalline Slumber,n/a--
pUnit:FullCastSpellOnTarget(3636,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4042', 17000, 1)
end

function Sorts_4042(pUnit, Event)
local choix_sorts_4042 = math.random(0, 0)
if choix_sorts_4042 == 0 then
pUnit:RegisterEvent('spell0_4042', 1, 1)
end
end

function mob4042_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4042', math.random(1500, 3000), 1)
end

function mob4042_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4042_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4042_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4042, 1, 'mob4042_Action')
RegisterUnitEvent(4042, 2, 'mob4042_Leave')
RegisterUnitEvent(4042, 3, 'mob4042_Kill')
RegisterUnitEvent(4042, 4, 'mob4042_Die')
